import java.util.Arrays;

public class aaaa {    public static void main(String[] args) {
        int[] arr = {41, 123, 553, 23, 6, 34, 121, 43};
        for (int i = 0; i < arr.length-1; i++) {
            for (int j = 0; j < arr.length-1-i; j++) {
                if (arr[j] < arr[j + 1]) {
                    int a = arr[j];
                    arr[j] = arr[j + 1];
                    arr[j + 1] = a;

                }
            }
        }
        String a = Arrays.toString(arr);
        System.out.println(a);
    }
}
